import service from '@/utils/request'

// @Tags QmBurial
// @Summary 创建qmBurial表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.QmBurial true "创建qmBurial表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"创建成功"}"
// @Router /qmBurial/createQmBurial [post]
export const createQmBurial = (data) => {
  return service({
    url: '/qmBurial/createQmBurial',
    method: 'post',
    data
  })
}

// @Tags QmBurial
// @Summary 删除qmBurial表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.QmBurial true "删除qmBurial表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /qmBurial/deleteQmBurial [delete]
export const deleteQmBurial = (params) => {
  return service({
    url: '/qmBurial/deleteQmBurial',
    method: 'delete',
    params
  })
}

// @Tags QmBurial
// @Summary 批量删除qmBurial表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body request.IdsReq true "批量删除qmBurial表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /qmBurial/deleteQmBurial [delete]
export const deleteQmBurialByIds = (params) => {
  return service({
    url: '/qmBurial/deleteQmBurialByIds',
    method: 'delete',
    params
  })
}

// @Tags QmBurial
// @Summary 更新qmBurial表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.QmBurial true "更新qmBurial表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}"
// @Router /qmBurial/updateQmBurial [put]
export const updateQmBurial = (data) => {
  return service({
    url: '/qmBurial/updateQmBurial',
    method: 'put',
    data
  })
}

// @Tags QmBurial
// @Summary 用id查询qmBurial表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query model.QmBurial true "用id查询qmBurial表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}"
// @Router /qmBurial/findQmBurial [get]
export const findQmBurial = (params) => {
  return service({
    url: '/qmBurial/findQmBurial',
    method: 'get',
    params
  })
}

// @Tags QmBurial
// @Summary 分页获取qmBurial表列表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query request.PageInfo true "分页获取qmBurial表列表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /qmBurial/getQmBurialList [get]
export const getQmBurialList = (params) => {
  return service({
    url: '/qmBurial/getQmBurialList',
    method: 'get',
    params
  })
}


export const getQmEventDetailList = (params) => {
  return service({
    url: '/qmBurial/getQmEventDetailList',
    method: 'get',
    params
  })
}

